package com.jx.medical.service;

import com.jx.medical.pojo.Buyer;
import com.jx.medical.pojo.User;

/**
 * @author jx
 * @date Created on 2020/12/3  16:08
 **/
public interface UserService {
    User findUser(User user);
    int registUser(User user);
    User getUserByAcc(String acc);
    int registBuyer(Buyer buyer);
    Buyer getBuyerById(int buyerId);
    int deleteUser(String acc);
    int deleteBuyer(int buyerId);
    int updateBuyer(Buyer buyer);

}
